package com.bw.entity.orders;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * <p>
 * 
 * </p>
 *
 * @author lizhengqian
 * @since 2020-06-19
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class PiOrderItemProcess implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 订单零件ID
     */
    @TableField("orderItemId")
    private Long orderItemId;

    /**
     * 工序ID
     */
    @TableField("processId")
    private Long processId;

    /**
     * 准备工时单位分钟
     */
    @TableField("preWorkHour")
    private Double preWorkHour;

    /**
     * 单件工时单位分钟
     */
    @TableField("sgWorkHour")
    private Double sgWorkHour;

    /**
     * 保存顺序
     */
    private Integer sn;

    /**
     * 工序费用
     */
    @TableField("proCost")
    private BigDecimal proCost;

    /**
     * 准备工时费用
     */
    @TableField("preCost")
    private BigDecimal preCost;


}
